package template;

/**
 * @ClassName WithoutTemplatePatternDemo
 * @Description TODO
 * @Author leejiliang
 * @DateTime 2021/2/23 18:17
 * @Version 1.0
 */
public class WithoutTemplatePatternDemo {

	public static void main(String[] args) {
		ProductA.execute();
		ProductB.execute();
		ProductC.execute();
	}


	static class ProductA{
		public static void execute() {
			System.out.println("something common");
			System.out.println("something specific A");
		}
	}

	static class ProductB{
		public static void execute() {
			System.out.println("something common");
			System.out.println("something specific B");
		}
	}

	static class ProductC{
		public static void execute() {
			System.out.println("something common");
			System.out.println("something specific C");
		}
	}
}
